{extends file="get_usermod:layouts/main/layout.html"} {block name="content"}
{block name="admin_configurations_form"} {foreach $configurations as $configuration}
{block name="admin_configurations_form_label"}
{$configuration.label.title}
{/block} {block name="admin_configurations_form_value"}
{if $configuration.type === 'dropdown'} {block name="admin_configurations_form_value_dropdown"}
{/block} {elseif $configuration.type === 'checkbox'} {block name="admin_configurations_form_value_checkbox"} {/block} {elseif $configuration.type === 'textarea'} {block name="admin_configurations_form_value_textarea"} {$configuration.properties.value} {/block} {elseif $configuration.type === 'number'} {block name="admin_configurations_form_value_number"} {/block} {elseif $configuration.type === 'lang'} {block name="admin_configurations_form_value_lang"}
{foreach $configuration.properties.value as $languageCode => $value}
{/foreach}
{/block} {elseif $configuration.type === 'multi-switcher'} {block name="admin_configurations_form_value_multi_switcher"}
{foreach $configuration.properties.options as $option}
{$option.text}
{/foreach}
{/block} {else} {block name="admin_configurations_form_value_other"} {/block} {/if}
{/block} {block name="admin_configurations_form_info"}
{$configuration.label.description}
{/block}
{/foreach} {/block}
{/block} {block name="bottom_save_bar"}
{/block}